<!-- application/views/scripts/guestbook/index.phtml -->
 
<p><a href="<?php echo $this->url(
    array(
        'controller' => 'guestbook',
        'action'     => 'sign'
    ),
    'default',
    true) ?>">Sign Our Guestbook</a></p>
 
Guestbook Entries: <br />
<table width="100%" cellpadding="0" cellspacing="4" border="1">
	<tr>
		<th>id</th>
		<th>email</th>
		<th>comment</th>
		<th>created</th>
		<th colspan="2"></th>
	</tr>
	<?php foreach ($this->entries as $entry): ?>
	<tr>
		<td><?php echo $this->escape($entry->id) ?></td>
    	<td><?php echo $this->escape($entry->email) ?></td>
    	<td><?php echo $this->escape($entry->comment) ?></td>
    	<td><?php echo $this->escape($entry->created) ?></td>
    	<td>Edit</td>
    	<td>Del</td>
	</tr>
	<?php endforeach ?>
</table>